﻿//---Standard Plane Config for Flans Mod----------
//Created by Minecraft-SMP Toolbox 2.3.0.0


//---Standard-------------------------------------
// Naming
Name Apache
ShortName Apache


// Visuals
Model WW3.Apache
ModelScale 0.89
Icon Apache


//Recipe
//Each section of the plane may have many parts
//The sections are tailWheel, tail, bay, topWing, leftWingWheel, leftWing, rightWingWheel,
//rightWing, nose, turret, coreWheel, core 
AddRecipeParts core 1 metalCockpit 2 vehicleSeat 4 RocketHolder 1 passengerBay
AddRecipeParts leftWing 1 metalWingSmall
AddRecipeParts rightWing 1 metalWingSmall
//Dye colours are "black", "red", "green", "brown", "blue", "purple", "cyan", "silver", "gray", "pink", "lime", "yellow", "lightBlue", "magenta", "orange", "white"
AddDye 5 green


//Misc

//------------------------------------------------

//---Driveables-----------------------------------
//Visuals
Model WW3.Apache
Texture SkinApache


//Movement
MaxThrottle 2.5
MaxNegativeThrottle 0.5
Drag 1.0


//Wheels
NumWheels 3
WheelPosition 0 43 0 -24
WheelPosition 1 43 0 21
WheelPosition 2 -189 14 0
WheelRadius 1
WheelSpringStrength 0.125


//Floating


//Ammo
AllowAllAmmo False
AddAmmo mk4Rocket
AddAmmo HellFire
AddAmmo MinigunAmmo


//Weapons
Primary MISSILE
Secondary GUN
ShootDelayPrimary 25
ShootDelaySecondary 1
AlternatePrimary False
AlternateSecondary False
ModePrimary SemiAuto
ModeSecondary FullAuto
ShootPointPrimary 31 6 0 core minigun
ShootPointPrimary 41 22 -47 leftWing 
ShootPointPrimary 41 22 -31 leftWing 
ShootPointPrimary 41 22 32 rightWing 
ShootPointPrimary 41 22 46 rightWing 
ShootPointSecondary 31 6 0 core minigun


//Driver and Passengers
Pilot 73 23 0 0 0 0 0
Passengers 1
Passenger 1 46 29 0 core 0 0 0 0 minigun PassengerGun1
GunOrigin 0 0 0 0
GunOrigin 1 0 0 0


//Inventory Slots
CargoSlots 0
BombSlots 0
MissileSlots 8
FuelTankSize 5000


//Recipe


//Health and Collision
SetupPart core 8000 -31 14 -20 123 48 40
SetupPart nose 5000 92 14 -20 22 21 40
SetupPart bay 7000 -81 14 -20 50 30 40
SetupPart tail 6000 -176 18 -20 94 24 40
SetupPart blades 4000 -130 75 -130 258 3 260
SetupPart leftWing 3000 5 14 -53 31 23 39
SetupPart rightWing 3000 5 14 19 31 23 33
SetupPart rightWingWheel 2000 38 -9 15 18 23 11
SetupPart leftWingWheel 2000 38 -9 -26 18 23 10
SetupPart tailWheel 2000 -192 11 -3 16 17 6
CollisionPoint 114 24 0 core
CollisionPoint 133 77 0 blades
BulletDetection 10


//Misc
CameraDistance 20.0


//Sounds
StartSound HelicopterStart
StartSoundLength 100
ShootSoundPrimary bazookaShoot
ShootsoundSecondary mp40Shoot
//------------------------------------------------

//---Plane----------------------------------------
//Flying Mode
Mode HELI


//Visuals


//Movement
TurnLeftSpeed 2
TurnRightSpeed 2
LookUpSpeed 2
LookDownSpeed 2
RollLeftSpeed 2
RollRightSpeed 2





//Misc
RestingPitch 0.0


//Propeller
Propeller 0 195 -89 -24 core metalPropeller
HeliPropeller 1 0 -86 0 blades metalPropeller


//Sound
PropSoundLength 93
PropSound Helicopter1

//------------------------------------------------